/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.fee.mapper;

import com.jeeplus.core.persistence.BaseMapper;
import com.jeeplus.core.persistence.annotation.MyBatisMapper;
import com.jeeplus.modules.fee.entity.Consignor;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 下游客户MAPPER接口
 * @author weisong
 * @version 2017-10-10
 */
@MyBatisMapper
public interface ConsignorMapper extends BaseMapper<Consignor> {
    //根据名称查询
    public List<Consignor> findByName(@Param(value = "name")String name);
    //查询所有的id和name （下拉框用）
    public List<Consignor> findIdAndName();
}